import GameUiTools from "GameUiTools";

cc.Class({
    extends: cc.Component,

    properties: {
        closeBtn: cc.Node
    },

    onLoad() {
        GameUiTools.setButtonClickEvents(this, this.closeBtn, "closeBtnFunc");
    },

    closeBtnFunc: function() {
        GameUiTools.unLoadingLayer(this.node);
    },
});
